/**
 * ProductQueryBean.java   2017年5月9日 上午9:37:10 by xuebing 
 *
 * Copyright (c) 2010 - 2017 All rights reserved.
 * 
 */
package com.rongmai.db.mapper.param;

import java.util.List;

public class ProductQueryBean extends QueryBean {

    private static final long serialVersionUID = 1L;
    // 用于前端首页编号与名称模糊查询
    private String queryName;
    private String name;
    private String productId;
    private String status;
    private String type;
    private List<String> productIds;

    public ProductQueryBean() {
        super();
    }
    
    public ProductQueryBean(int pageNo, int size) {
        super.setPageNo(pageNo);
        super.setSize(size);
    }

    public String getQueryName() {
        if(this.queryName == null) {
            return null;
        }
        if(this.queryName.trim() == "") {
            return null;
        }
        return queryName;
    }

    public void setQueryName(String queryName) {
        this.queryName = queryName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<String> getProductIds() {
        return productIds;
    }

    public void setProductIds(List<String> productIds) {
        this.productIds = productIds;
    }
    
}
